#ifndef TESTLISTWIDGETITEM_H
#define TESTLISTWIDGETITEM_H

#include <QListWidgetItem>
#include <QIcon>
class TestListWidgetItem : public QListWidgetItem
{
    //Q_OBJECT  //由于QListWidgetItem没有QObject属性，所以Q_OBJECT需要注释掉
public:
    explicit TestListWidgetItem(QListWidget *view = nullptr);
    void setUpIcon(const QIcon &icon, const QIcon &icon_hover);

    QIcon Img;
    QIcon Img_hover;
};

#endif // TESTLISTWIDGETITEM_H
